<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<h:body>

	<h:form id="formMenu" prependId="true">	
		
		<p:menubar>
			<p:menuitem value="Login" icon="ui-icon-key" url="/pages/publico/login.xhtml" />
            <p:menuitem value="Open" url="#" />	            
            <p:menuitem value="Cadastrar Usuário" icon="ui-icon-contact" url="/pages/publico/cadastrarUsuario.xhtml" />            
            <p:menuitem value="Sair" url="#{request.contextPath}/j_spring_security_logout" icon="ui-icon-power" />   
	        <p:submenu label="File" icon="ui-icon-document">	        	
	            <p:submenu label="New" icon="ui-icon-contact">
	                <p:menuitem value="Project" url="#" />
	                <p:menuitem value="Other" url="#" />
	            </p:submenu>	            
	        </p:submenu>
	        
	        <f:facet name="options">  
	            <p:inputText style="margin-right:10px"/>  
	            <p:commandButton type="button" value="Logout" icon="ui-icon-extlink" /> 	       
        	</f:facet>
	    </p:menubar>
				
	</h:form>
<!-- 	
  		<p:accordionPanel>
			<p:tab title="Geral">	
				<ul>
					<li><p:commandLink value="Login" icon="ui-icon-key" ajax="false" /></li>
					<li><p:commandLink value="Fazer meu cadastro" action="/pages/publico/cadastrarAluno.xhtml" icon="ui-icon-contact" ajax="false"/></li>
               		<li><p:commandLink value="Sair" target="#{request.contextPath}/j_spring_security_logout" icon="ui-icon-power"  ajax="false"/></li>								          
                </ul>	       
			</p:tab>
			<p:tab title="Godfather Part II">
				<ul>
					<li><p:commandLink value="Login" icon="ui-icon-key" /></li>
					<li><p:commandLink value="Login" icon="ui-icon-key" /></li>
					<li><p:commandLink value="Login" icon="ui-icon-key" /></li>
				</ul>
			</p:tab>
			<p:tab title="Godfather Part III">
				<ul>
					<li><p:commandLink value="Login" icon="ui-icon-key" /></li>
					<li><p:commandLink value="Login" icon="ui-icon-key" /></li>
					<li><p:commandLink value="Login" icon="ui-icon-key" /></li>
				</ul>
			</p:tab>
		</p:accordionPanel>
		
			
    	<p:menu style="width:200px; font-size:12px;font-weight:bold;">   
	        <p:submenu label="Geral">  
	            <p:menuitem value="Login" icon="ui-icon-key" />
                <p:menuitem value="Fazer meu cadastro" url="/pages/publico/cadastrarAluno.xhtml" icon="ui-icon-contact" />
                <p:menuitem value="Sair" url="#{request.contextPath}/j_spring_security_logout" icon="ui-icon-power" /> 
	        </p:submenu>  	  	   	
	        <p:submenu label="Administrador">  
	            <p:menuitem value="Delete" ajax="false" icon="ui-icon-trash"/>  
	            <p:menuitem value="Delete" ajax="false" icon="ui-icon-close"/>
	            <p:menuitem value="Delete" ajax="false" icon="ui-icon-close"/>	         	            
	        </p:submenu> 
	         <p:submenu label="Professor">  
	            <p:menuitem value="Delete" ajax="false" icon="ui-icon-trash"/>  
	            <p:menuitem value="Delete" ajax="false" icon="ui-icon-close"/>	                  
	        </p:submenu> 
	         <p:submenu label="Aluno">  
	            <p:menuitem value="Delete" ajax="false" icon="ui-icon-trash"/>  
	            <p:menuitem value="Delete" ajax="false" icon="ui-icon-close"/>
	            <p:menuitem value="Delete" ajax="false" icon="ui-icon-close"/>	            
	        </p:submenu> 	                 	
         </p:menu>  
        
		<p:menu style="width:200px;">
			<p:submenu label="Menu">
                <p:menuitem value="Login" icon="ui-icon-key" />
                <p:separator />
                <p:menuitem value="Fazer meu cadastro" icon="ui-icon-contact" />
                <p:menuitem value="Sair" url="#{request.contextPath}/j_spring_security_logout" icon="ui-icon-power" />         
            </p:submenu>         
		</p:menu>  -->
	

</h:body>
</html>